﻿using System;

namespace System
{
    /// <summary>
    /// 自定义异常信息
    /// </summary>
    [Serializable]
    public class MyException : System.Exception
    {
        public MyException(string message)
            : base(message)
        { 

        }

        public MyException(string message, string source)
            : base(message)
        {
            base.Source = source;
        }

        public MyException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        public object Tag { get; set; }
    }
}
